/**
 * Coryright 2015-2020 www.eyaomall.cn
 * All rights reserved.
 * @author tumingjun
 * @date 2016年8月10日
 *
 */

package com.eyaomall.wxmanage.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eyaomall.wxmanage.dao.MerchantsDao;
import com.eyaomall.wxmanage.model.vo.MerchantsVO;
import com.eyaomall.wxmanage.service.MerchantsService;
import com.lycheeframework.core.cmp.kit.PageHTTPObject;
import com.lycheeframework.core.cmp.kit.Pages;

/**
 * @author tumingjun
 *
 */
@Service
public class MerchantsServiceImpl implements MerchantsService{
	
	@Autowired
	private MerchantsDao merchantsDao;

	/**
	 * 商家管理列表
	 */
	public Pages<?> pageActive(MerchantsVO merchantsVO,PageHTTPObject httpObject) {
		
		return merchantsDao.pageMoney(merchantsVO, httpObject);
	}
	
	/**
	 *  未激活商家
	 */
	public Pages<?> pageUnActive(MerchantsVO merchantsVO,PageHTTPObject httpObject) {
		
		return merchantsDao.pageNoMoney(merchantsVO, httpObject);
	}


}
